import Cookies from 'js-cookie'

const search = 'search'

export function setSearch(sear) {

  // console.log('setSearch')
  // console.log(sear)
  return Cookies.set(search, sear)
}

export function getSearch() {
  return Cookies.get(search)
}

export function removeSearch() {
  return Cookies.remove(search)
}
